﻿// See https://aka.ms/new-console-template for more information
using DbHelper.Demo.DAL;

Console.WriteLine("Hello, World!");

UserDAL userDAL = new UserDAL();

// 获取单个数据
var userInfo = userDAL.GetUserInfoWithId(1);
// 获取批量数据
var list = userDAL.GetListUser();
// 分页获取数据
var listPage = userDAL.GetListPageUser(new DbAccess.PageInfo());
